package cn.com.shopec.erp.multiChannel.common;

import java.util.ArrayList;
import java.util.List;

import com.jd.open.api.sdk.domain.order.CouponDetail;
import com.jd.open.api.sdk.domain.order.ItemInfo;
import com.jd.open.api.sdk.domain.order.OrderSearchInfo;
import com.jd.open.api.sdk.domain.order.UserInfo;

/**
 * 多渠道数据测试帮助类
 * @author Terry
 *
 */
public class MultiChannelTestData {
	
	/**
	 * 京东测试数据
	 * @return
	 */
	public static List<OrderSearchInfo> getTestOrderData(){
		List<OrderSearchInfo> orderInfos=new ArrayList<OrderSearchInfo>();
		OrderSearchInfo info=new OrderSearchInfo();
		info.setModified("2016-12-05 03:12:30");
		info.setWaybill("-10000");
		info.setOrderId("44840218616");
		info.setPayType("4-在线支付");
		info.setOrderTotalPrice("63.80");
		info.setOrderSellerPrice("63.80");
		info.setOrderPayment("63.80");
		info.setFreightPrice("0.00");
		info.setOrderState("FINISHED_L");
		info.setDeliveryType("任意时间");
		info.setOrderRemark("完成");
		info.setOrderStartTime("2016-11-15 10:33:51");
		UserInfo user=new UserInfo();
		user.setFullname("李阳");
		user.setTelephone("13910667439");
		user.setMobile("13910667439");
		user.setProvince("北京");
		user.setCity("海淀区");
		user.setCounty("三环以内");
		user.setFullAddress("北京海淀区三环以内海淀区铁医路10号北京世纪坛医院放射科");
		info.setConsigneeInfo(user);
		List<ItemInfo> items=new ArrayList<ItemInfo>();
		ItemInfo item=new ItemInfo();
		item.setSkuId("10803837314");
		item.setOuterSkuId("");
		item.setSkuName("泰国电话卡happy卡普吉岛芭提雅苏梅岛手机卡7天无限流量4g/3g上网卡 邮寄 7天无限量+100分钟通话");
		item.setJdPrice("31.90");
		item.setGiftPoint("0");
		item.setWareId("10027143528");
		item.setItemTotal("1");
		items.add(item);
        info.setItemInfoList(items);
        List<CouponDetail> coupons=new ArrayList<CouponDetail>();
        CouponDetail coupon=new CouponDetail();
        coupon.setOrderId("");
		coupon.setSkuId("");
		coupon.setCouponType("");
		coupon.setCouponPrice("");
		coupons.add(coupon);
		info.setCouponDetailList(coupons);
		info.setReturnOrder("0");
		info.setBalanceUsed("0.00");
		orderInfos.add(info);
		return orderInfos;
	}
}
